﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>财务计算器</title>
    <style type="text/css">
        .auto-style1 {
            width: 121px;
        }

        .auto-style2 {
            width: 121px;
            height: 25px;
        }

        .auto-style3 {
            height: 25px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="Button2">
        <div>
            工作日及人月数折算。只处理2013年以后数据。<br />
            请输入“YYYYYMMDD”格式。<br />
            <br />
            <br />
        </div>
        <table style="width: 100%;">
            <tr>
                <td class="auto-style2">&nbsp;<asp:Label ID="Label2" runat="server" Text="期初日"></asp:Label></td>
                <td class="auto-style3">&nbsp;<asp:TextBox ID="TextBox1" runat="server" MaxLength="8" TextMode="Date"></asp:TextBox></td>
                <td class="auto-style3"></td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;<asp:Label ID="Label3" runat="server" Text="期末日"></asp:Label></td>
                <td>&nbsp;<asp:TextBox ID="TextBox2" runat="server" MaxLength="8" TextMode="Date"></asp:TextBox></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1"></td>
                <td></td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:Button ID="Button1" runat="server" Text="复位" OnClick="Button1_Click" />
                </td>
                <td>
                    <asp:Button ID="Button2" runat="server" Text="计算" OnClick="Button2_Click" />
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1"></td>
                <td></td>
                <td>&nbsp;</td>
            </tr>

        </table>
    </form>
    <asp:Literal ID="Literal1" runat="server" Text="<B>计算结果</B>"></asp:Literal>
</body>
</html>
